<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 引入vue -->
    <script src="./js/vue.js"></script>
    <!-- 引入element-ui样式 -->
    <link rel="stylesheet" href="element-ui-2.13.0/lib/theme-chalk/index.css">
    <!-- 组件库 -->
    <script src="element-ui-2.13.0/lib/index.js"></script>
</head>
<body>
    <div id="app">
        <el-button @click="visible = true">Button</el-button>   
        <el-dialog :visible.sync="visible" title="Hello Element">
            hello
        </el-dialog>
    </div>
</body>
</html>

<script>
    new Vue({
        el:"#app",
        data:{
          visible:false
        }
    })
</script>